private ["_helo","_callsign","_home","_airport","_egress","_ingress","_class","_spwn"];

if(RUM_AHEL_NonSpawn)then{
	_helo = _this select 0;
}else{
	_helo = _this select (count _this - 1);
};
_callsign = _this select 1;
_class = _this select 2;

_mkrname = format ["%1station",_helo];
_asloc = createMarker [_mkrname, getPos _helo];
_asloc setMarkerShape "ELLIPSE";
_mkrname setMarkerBrush "BORDER";
_mkrname setMarkerSize [100,100];
_mkrname setMarkerColor "ColorGreen";
_mkrname setMarkerText _callsign;
_mkrname2 = format ["%1station2",_helo];
_asloc2 = createMarker [_mkrname2, getmarkerpos _mkrname];
_asloc2 setMarkerShape "ICON";
_mkrname2 setMarkerSize [1,1];
_mkrname2 setMarkerType "Dot";
_mkrname2 setMarkerColor "ColorGreen";
_mkrname2 setMarkerText _callsign;

_pilot = driver _helo;
_helo flyInheight RUM_AHel_flyStationHeight;
_grp = group _pilot;
_grp setCombatMode "BLUE";

//hint format ["%1",_this];

if(RUM_AHEL_flightCheckIn)then{["flightcheckin",[player,_pilot,_callsign,_payload]] execVM (RUM_PATH+"AHel\radiodialogs.sqf");};

// forces the server side helo object to become client side.
	[_helo] joinSilent player;
	[_helo] joinSilent grpNull;
	[_helo] joinSilent _grp;
	_helo setBehaviour "SAFE";
	_helo setCombatMode "BLUE";

//hint format ["%1",RUM_FXDAircraft_onStation];

if(true)exitwith{};
